<template>
  <div :class="classPrefix">
    <slot></slot>
  </div>
</template>

<script>
import Config from "/src/config";
export default {
    name:'Breadcrumb',
  props: {
    // 分隔符
    separator: {
      type: String,
      default: "/",
    },
    // icon分隔符
    separatorClass: {
      type: String,
      default: "",
    },
  },
  data() {
    return {
      classPrefix: Config.classPrefix + "-breadcrumb",
    };
  },
  provide() {
    return {
      bfBreadcrumb: this,
    };
  },
};
</script>